﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;


namespace DAO
{
    public class ThongKe_PhieuDatCom_Dao
    {
        public DataSet ThongKe_PhieuDatCom(int loai, DateTime ngaygiao, int trangthai)
        {
            DataSet dtset = new DataSet();
            Connection con = new Connection(loai);
            try
            {
                dtset = con.ExecuteDataTable("ThongKe_PhieuDatCom", CommandType.StoredProcedure, "@ngaygiao", ngaygiao, "@trangthai", trangthai);
               

            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
            return dtset;
        }
    }
}
